package com.ruoyi.order.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@Accessors(chain = true)
public class BusinessVolumeExportVO {

    private String companyName;

    private Date createTimeStart;

    private Date createTimeEnd;

    /**
     * 填报人签名
     */
    private String informant;

    private List<ProjectFirst> projectFirstList;

    @Data
    public static class ProjectFirst {

        private String name;

        private Map<String, BusinessData> businessDataMap;

        private List<ProjectSecond> projectSecondList;

        @Data
        public static class ProjectSecond {

            private String name;

            private Map<String, BusinessData> businessDataMap;
        }
    }

    @Data
    public static class BusinessData {
        /**
         * 批次
         */
        private Integer totalOrderQuantity;

        /**
         * 处理量
         */
        private Double totalProcessQuantity;

        /**
         * 货物量
         */
        private Double totalGoodsQuantity;
    }
}
